package com.lishu.carsafe.http;

/**
 * 请求地址
 */
public class HttpAddress {
    //测试地址
    //public static String ROOT = "http://127.0.0.1:8888/auto";
    //现网地址
    public static String ROOT = "http://127.1.1.1:8888/auto";

    /**
     * 3.1 用户接口
     */
    //3.1.1	登录接口
    public static String LOGIN = ROOT + "/app/login/appLogin";

    /**
     * 3.2 我的排班接口
     */
    //3.2.1	获取排班列表
    public static String GET_SCHEDULE_LIST = ROOT + "/app/operation/schedule/list";
    //3.2.2	获取线路详情
    public static String GET_SCHEDULE_LINE_DETAIL = ROOT + "/app/operation/schedule/lineDetail";
    //3.2.4 排班签到
    public static String SCHEDULE_SIGN_IN = ROOT + "/app/operation/schedule/signIn";
    //3.2.3	排班请假
    public static String SCHEDULE_LEAVE = ROOT + "/app/operation/schedule/leave";
    //3.2.5	取消排班请假
    public static String SCHEDULE_CANCEL_LEAVE = ROOT + "/app/operation/schedule/cancelLeave";
    //3.2.6	获取签到信息
    public static String SCHEDULE_SIGN_INFO = ROOT + "/app/operation/schedule/signInfo";
    //3.2.7 上传签到照片 (同3.3.4)
    //public static String FILE_UPLOAD = ROOT + "/file/fileUpload";

    /**
     * 3.3	任务单接口
     */
    //3.3.1	获取任务单列表
    public static String GET_TASK_LIST = ROOT + "/app/operation/task/list";
    //3.3.2 获取任务单详细内容
    public static String GET_TASK_DETAIL = ROOT + "/app/operation/task/detail";
    //3.3.3	处理任务
    public static String TASK_HANDLE = ROOT + "/app/operation/task/handle";
    //3.3.4 上传处理多媒体
    public static String FILE_UPLOAD = ROOT + "/file/fileUpload";

    /**
     * 3.4	故障上报
     */
    //3.4.1	获取故障列表
    public static String GET_FAULT_LIST = ROOT + "/app/operation/fault/list";
    //3.4.2	获取故障详情
    public static String GET_FAULT_DETAIL = ROOT + "/app/operation/fault/detail";
    //3.4.3	修改故障
    public static String FAULT_UPDATE = ROOT + "/app/operation/fault/update";
    //3.4.4	获取新增故障的可选项
    public static String FAULT_TO_ADD = ROOT + "/app/operation/fault/toAdd";
    //3.4.5	新增故障
    public static String FAULT_ADD = ROOT + "/app/operation/fault/add";
    //3.4.6 撤销故障
    public static String FAULT_REPEAL = ROOT + "/app/operation/fault/repeal";
    //3.4.7 上传故障多媒体 (同3.3.4)
    //public static String FILE_UPLOAD = ROOT + "/file/fileUpload";

    /**
     * 3.5	通讯录
     */
    //3.5.1	获取通讯录列表
    public static String GET_CONTACT_LIST = ROOT + "/app/operation/contact/list";
    //3.5.2 获取联系人详情
    public static String CONTACT_DETAIL = ROOT + "/app/operation/contact/detail";

    /**
     * 3.6	运营监测
     */
    //3.6.1	获取运营监测列表
    public static String GET_MONITOR_LIST = ROOT + "/app/monitor/list";
    //3.6.2	实时监测-基础的车辆和线路数据
    public static String GET_MONITOR_BASE_INFO = ROOT + "/app/monitor/realTime/base";
    //3.6.3 实时监测-动态的车辆、设备、坐标等信息
    public static String GET_MONITOR_ACTIVE_INFO = ROOT + "/app/monitor/realTime/active";

    /**
     * 3.7	统计分析
     */
    //3.7.1 获取统计分析数据
    public static String GET_STATISTIC_DETAIL = ROOT + "/app/statistic/detail";

    /**
     * 3.8	App版本更新
     */
    //3.8.1 查询最新
    public static String LATEST_VERSION = ROOT + "/app/appSoftware/latestVersion";
    //3.8.2	上传新的版本APP文件(同3.3.4)
    //public static String FILE_UPLOAD = ROOT + "/file/fileUpload";
    //3.8.3	软件新增版本
    public static String ADD_VERSION = ROOT + "/app/appSoftware/version/add";
}
